
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>


<html>
  
  <body>
   	
<jsp:include page="Header.jsp"></jsp:include>
   
    <table align="center" border="1" bgcolor="" width="90%" cellpadding="10">
   <caption>COURSES INFORMATION</caption>
   <tr bgcolor="#CCFFFF"><i>Courses Info</i></tr>
   <br/>
   <tr><th><b>Course Id</b></th><th><b>Course Title</b></th><th><b>Course Description</b></th><th><b>Introduced Date</b></th><th><b>Course Status</b></th>
   <th><b>MoreInfo</b></th>
    </tr>
   
   <c:if test="${not empty courseInfovector}">
    
  <c:forEach var="coursevector" items="${courseInfovector}">
   <tr>
   
   
   <td>${coursevector.courseid }</td>
  
  <td>${coursevector.cname }</td>
  <td>${coursevector.cdescription }</td>
  <td>${coursevector.cdate }</td>
  <td>${coursevector.cstatus }</td>

  <td><a href="./CourseFaculty?courseid=${coursevector.courseid }">ViewAllFaculty</a><br/>
  <a href="./CourseStudents?courseid=${coursevector.courseid }">ViewAllStudents</a><br/>
  <a href="./ViewAnnouncements?courseid=${coursevector.courseid }">ViewAnnouncments</a><br/>
   <a href="./jsps/ViewMaterial.jsp?courseid=${coursevector.courseid }">ViewMaterial</a>
  
  </td>
  
  
 
   </tr>  
   
  </c:forEach>
   </c:if> 

   				<c:if test="${empty courseInfovector}">
   				<tr>
   			<td colspan="5"> No Record Found</td>
   			</tr>
   				</c:if>
   				
 </table>
 
   
                  <jsp:include page="Footer.jsp"></jsp:include>
		
		
  </body>
</html>
